package com.uduemc.biso.node.web.api.service;

import java.io.IOException;
import java.util.List;

import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.uduemc.biso.node.core.common.entities.publishdata.DataBody;
import com.uduemc.biso.node.web.api.dto.RequestActionPublishSaveOperateLog;

public interface PublishService {

	/**
	 * 发送保存发布请求数据
	 * 
	 * @param dataBody
	 * @return
	 * @throws IOException
	 * @throws JsonProcessingException
	 * @throws JsonMappingException
	 * @throws JsonParseException
	 */
	public boolean save(DataBody dataBody, List<RequestActionPublishSaveOperateLog> operateLog)
			throws JsonParseException, JsonMappingException, JsonProcessingException, IOException;

}
